package com.green.common.util;

public class JoinBranchNumberUtil {

	
	public static final String JOINBRANCH_NUMBER="999999";  //店铺最大编码
	
	//返回编码
	public static String branchNumber(int branchCount){
		String temporaryNo=String.valueOf(branchCount+1);
		String branchNumber=temporaryNo;
		int forCount=JOINBRANCH_NUMBER.length()-temporaryNo.length();
		for(int i=0;i<forCount;i++){
			branchNumber="0"+branchNumber;
		}
		return branchNumber;
	}
	
}
